package com.vlong.town.entity.restaurant;

import java.io.Serializable;

/**
 * @author Assassin
 */
public class Restaurant implements Serializable {

   /**
	* default SerialVersionUID
	*/
	private static final long serialVersionUID = 1L;

	// Fields

	private Long restaurantId;// 主键
	private Long townId;// 
	private String restaurantName;// 饭店名称
	private Integer state;// 是否删除[0-否 1-是]
	private Integer status;// 状态信息
	private String content;// 内容描述
	private String address;// 地址
	private String thumbnail;// 缩略图
	private String reason;//驳回原因
	private Long createTime;// 创建时间
	private Long updateTime;// 修改时间
	
	// Empty Constructor
	public Restaurant() {
		super();
	}
	

	// Property accessors

	public Long getRestaurantId () {
		return this.restaurantId;
	}
	
	public Restaurant(Long restaurantId, Long townId, String restaurantName, Integer state, Integer status,
			String content, String address, String thumbnail, String reason, Long createTime, Long updateTime) {
		super();
		this.restaurantId = restaurantId;
		this.townId = townId;
		this.restaurantName = restaurantName;
		this.state = state;
		this.status = status;
		this.content = content;
		this.address = address;
		this.thumbnail = thumbnail;
		this.reason = reason;
		this.createTime = createTime;
		this.updateTime = updateTime;
	}


	public String getReason() {
		return reason;
	}


	public void setReason(String reason) {
		this.reason = reason;
	}


	public void setRestaurantId (Long restaurantId) {
		this.restaurantId =  restaurantId;
	}
	
	public Long getTownId () {
		return this.townId;
	}
	
	public void setTownId (Long townId) {
		this.townId =  townId;
	}
	
	public String getRestaurantName () {
		return this.restaurantName;
	}
	
	public void setRestaurantName (String restaurantName) {
		this.restaurantName =  restaurantName;
	}
	
	public Integer getState () {
		return this.state;
	}
	
	public void setState (Integer state) {
		this.state =  state;
	}
	
	public Integer getStatus () {
		return this.status;
	}
	
	public void setStatus (Integer status) {
		this.status =  status;
	}
	
	public String getContent () {
		return this.content;
	}
	
	public void setContent (String content) {
		this.content =  content;
	}
	
	public String getAddress () {
		return this.address;
	}
	
	public void setAddress (String address) {
		this.address =  address;
	}
	
	public String getThumbnail () {
		return this.thumbnail;
	}
	
	public void setThumbnail (String thumbnail) {
		this.thumbnail =  thumbnail;
	}
	
	public Long getCreateTime () {
		return this.createTime;
	}
	
	public void setCreateTime (Long createTime) {
		this.createTime =  createTime;
	}
	
	public Long getUpdateTime () {
		return this.updateTime;
	}
	
	public void setUpdateTime (Long updateTime) {
		this.updateTime =  updateTime;
	}


	@Override
	public String toString() {
		return "Restaurant [restaurantId=" + restaurantId + ", townId=" + townId + ", restaurantName=" + restaurantName
				+ ", state=" + state + ", status=" + status + ", content=" + content + ", address=" + address
				+ ", thumbnail=" + thumbnail + ", reason=" + reason + ", createTime=" + createTime + ", updateTime="
				+ updateTime + "]";
	}
	
	
}